#ifndef BMP_H
#define BMP_H
 
#include <libavformat/avformat.h>
typedef unsigned char LBYTE;	//
typedef unsigned short LWORD;	//
typedef unsigned int LDWORD;
typedef long LLONG;				//
typedef unsigned char uchar;
int rgbaToBmpFile(char *pFileName, unsigned char* pRgbaData, int nWidth , int nHeight);
int save_bmp(AVFrame *frame, char * filename);
#endif //BMP_H